{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "招聘职位 UI/UX设计师\n",
      "网址 {'https://www.liepin.com/job/1925616223.shtml'}\n",
      "招聘职位 UX/UI 资深用户体验设计师\n",
      "网址 {'https://www.liepin.com/job/1926128503.shtml'}\n",
      "招聘职位 用户体验设计UE Design Manager\n",
      "网址 {'https://www.liepin.com/job/1923132527.shtml'}\n",
      "招聘职位 资深用户体验师\n",
      "网址 {'https://www.liepin.com/job/1926482695.shtml'}\n",
      "招聘职位 用户研究与产品体验专员\n",
      "网址 {'https://www.liepin.com/job/1925843531.shtml'}\n",
      "招聘职位 用户体验部—用户研究\n",
      "网址 {'https://www.liepin.com/job/1923323567.shtml'}\n",
      "招聘职位 用户研究-用户体验部金融服务平台\n",
      "网址 {'https://www.liepin.com/job/1925040845.shtml'}\n",
      "招聘职位 UX and Usability Engineer\n",
      "网址 {'https://www.liepin.com/a/17610975.shtml'}\n",
      "招聘职位 UE设计师\n",
      "网址 {'https://www.liepin.com/a/19237501.shtml'}\n",
      "招聘职位 用户体验研究工程师\n",
      "网址 {'https://www.liepin.com/a/19248833.shtml'}\n",
      "招聘职位 用户体验岗\n",
      "网址 {'https://www.liepin.com/a/18793551.shtml'}\n",
      "招聘职位 UI/UX\n",
      "网址 {'https://www.liepin.com/job/1926878169.shtml'}\n",
      "招聘职位 UI/UX设计师(上海藤萝建筑咨询有限公司)\n",
      "网址 {'https://www.liepin.com/job/1926866433.shtml'}\n",
      "招聘职位 UX视觉设计leader\n",
      "网址 {'https://www.liepin.com/job/1926847327.shtml'}\n",
      "招聘职位 用户体验师（UE/UX）\n",
      "网址 {'https://www.liepin.com/job/1926491761.shtml'}\n",
      "招聘职位 ux\n",
      "网址 {'https://www.liepin.com/job/1926350269.shtml'}\n",
      "招聘职位 ue/ux\n",
      "网址 {'https://www.liepin.com/job/1926250517.shtml'}\n",
      "招聘职位 UX交互设计师（深圳）\n",
      "网址 {'https://www.liepin.com/job/1926237759.shtml'}\n",
      "招聘职位 ux交互设计师\n",
      "网址 {'https://www.liepin.com/job/1926186641.shtml'}\n",
      "招聘职位 高级UX设计师\n",
      "网址 {'https://www.liepin.com/job/1926117703.shtml'}\n",
      "招聘职位 UI/UX Designer\n",
      "网址 {'https://www.liepin.com/job/1925923163.shtml'}\n",
      "招聘职位 Senior UX/UI Designer\n",
      "网址 {'https://www.liepin.com/job/1925868547.shtml'}\n",
      "招聘职位 UX设计师\n",
      "网址 {'https://www.liepin.com/job/1925854111.shtml'}\n",
      "招聘职位 ux design\n",
      "网址 {'https://www.liepin.com/job/1925761071.shtml'}\n",
      "招聘职位 Engineer, UI & UX\n",
      "网址 {'https://www.liepin.com/job/1925673741.shtml'}\n",
      "招聘职位 UX/UE交互设计师\n",
      "网址 {'https://www.liepin.com/job/1925564553.shtml'}\n",
      "招聘职位 UI/UX Engineer交互体验工程师\n",
      "网址 {'https://www.liepin.com/job/1925200407.shtml'}\n",
      "招聘职位 UI/UX Designer - Supply Demand Management Solution\n",
      "网址 {'https://www.liepin.com/job/1924950101.shtml'}\n",
      "招聘职位 UX Designer 游戏UX设计师\n",
      "网址 {'https://www.liepin.com/job/1924293019.shtml'}\n",
      "招聘职位 UX Designer\n",
      "网址 {'https://www.liepin.com/job/1924193381.shtml'}\n",
      "招聘职位 UI/UX Designer\n",
      "网址 {'https://www.liepin.com/job/1923115705.shtml'}\n",
      "招聘职位 2521- UI/UX Engineer\n",
      "网址 {'https://www.liepin.com/job/1922338201.shtml'}\n",
      "招聘职位 ux\n",
      "网址 {'https://www.liepin.com/job/1921068777.shtml'}\n",
      "招聘职位 资深用户体验设计师（汽车UX设计方向）\n",
      "网址 {'https://www.liepin.com/job/1920786553.shtml'}\n",
      "招聘职位 UX设计师\n",
      "网址 {'https://www.liepin.com/job/1920705761.shtml'}\n",
      "招聘职位 ux设计师\n",
      "网址 {'https://www.liepin.com/job/1919946483.shtml'}\n",
      "招聘职位 UX/UI Designer\n",
      "网址 {'https://www.liepin.com/job/1919945633.shtml'}\n",
      "招聘职位 ux用户体验设计师\n",
      "网址 {'https://www.liepin.com/a/19430761.shtml'}\n",
      "招聘职位 UI/UX Designer\n",
      "网址 {'https://www.liepin.com/a/19339417.shtml'}\n",
      "招聘职位 ux/ue交互设计师\n",
      "网址 {'https://www.liepin.com/a/19286731.shtml'}\n"
     ]
    }
   ],
   "source": [
    "from requests_html import HTMLSession # 导入模块\n",
    "session = HTMLSession()# 使用session\n",
    "r = session.get('https://www.liepin.com/zhaopin/?key=UX') # 添加关键词\n",
    "\n",
    "# 使用xpath找到工作标题\n",
    "news = r.html.xpath('//div[@class=\"job-info\"]/h3/a') # // 以下所有层-不分层 [@属性]条件\n",
    "\n",
    "for new in news:\n",
    "    print(\"招聘职位\",new.text)  #获得工作标题\n",
    "    print(\"网址\",new.absolute_links) #获得工作网址"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "tags": [
     "liepin工作-key=UX"
    ]
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "招聘职位 咨询项目经理\n",
      "15-17k·12薪 广州-天河北 统招本科 3年以上\n",
      "2020-03-11 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/job/1914099645.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 项目经理（医护背景）\n",
      "6-7k·12薪 广州-越秀区 本科及以上 3年以上\n",
      "前天 投递后：5个工作日内反馈\n",
      "网址 {'https://www.liepin.com/gz/zhaopin/', 'https://www.liepin.com/job/1926196977.shtml'}\n",
      "招聘职位 产品设计（经理级 双休）\n",
      "12-18k·12薪 广州 大专及以上 3年以上\n",
      "4小时前 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/job/1926870253.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 IFRS17项目经理岗（精算部）(J10011)\n",
      "面议 广州-泺源 硕士及以上 7年以上\n",
      "2020-03-18 投递后：10个工作日内反馈\n",
      "网址 {'https://www.liepin.com/job/1925793335.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 产品主管/经理\n",
      "20-40k·12薪 广州 大专及以上 5年以上\n",
      "2020-03-20 投递后：24小时反馈\n",
      "网址 {'https://www.liepin.com/gz/zhaopin/', 'https://www.liepin.com/job/1926833823.shtml'}\n",
      "招聘职位 项目经理（规划设计）\n",
      "10-25k·12薪 广州-天河区 统招本科 5年以上\n",
      "5小时前 投递后：24小时反馈\n",
      "网址 {'https://www.liepin.com/job/1926821745.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 GIS产品经理\n",
      "12-20k·12薪 广州-天河区 本科及以上 4年以上\n",
      "5小时前 投递后：24小时反馈\n",
      "网址 {'https://www.liepin.com/job/1926820317.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 政务项目经理\n",
      "18-26k·12薪 广州-天河区 统招本科 8年以上\n",
      "43分钟前 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/job/1924041857.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 产品经理（精益相关）\n",
      "面议 广州-天河区 统招本科 5年以上\n",
      "6小时前 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/job/1926741987.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 Project Manager (电子磁性产品）\n",
      "面议 广州 统招本科 8年以上\n",
      "5小时前 投递后：10个工作日内反馈\n",
      "网址 {'https://www.liepin.com/gz/zhaopin/', 'https://www.liepin.com/job/1926276169.shtml'}\n",
      "招聘职位 银行产品经理\n",
      "面议 广州-珠江新城 硕士及以上 3年以上\n",
      "前天 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/job/1926801671.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 旅游产品经理\n",
      "12-20k·12薪 广州 统招本科 2年以上\n",
      "前天 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/job/1926703515.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 IFRS17项目经理（精算）\n",
      "2-3k·12薪 广州-越秀区 统招本科 7年以上\n",
      "2020-03-18 投递后：7个工作日内反馈\n",
      "网址 {'https://www.liepin.com/job/1924439831.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 产品经理(电商方向）\n",
      "10-15k·12薪 广州 统招本科 5年以上\n",
      "2020-03-17 投递后：24小时反馈\n",
      "网址 {'https://www.liepin.com/job/1926650779.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 临床项目经理（PM）\n",
      "面议 广州-黄埔区 本科及以上 5年以上\n",
      "2小时前 投递后：7个工作日内反馈\n",
      "网址 {'https://www.liepin.com/job/1926673387.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 [ATG]SAP QM/PM/EWM/WM/CRM/PS模块顾问\n",
      "10-20k·13薪 广州 大专及以上 3年以上\n",
      "7小时前 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/gz/zhaopin/', 'https://www.liepin.com/job/1926400401.shtml'}\n",
      "招聘职位 PM\n",
      "20-40k·12薪 广州 本科及以上 5年以上\n",
      "7小时前 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/gz/zhaopin/', 'https://www.liepin.com/job/1926210477.shtml'}\n",
      "招聘职位 PM工程师\n",
      "面议 广州-黄埔区 本科及以上 2年以上\n",
      "4小时前 投递后：10个工作日内反馈\n",
      "网址 {'https://www.liepin.com/gz/zhaopin/', 'https://www.liepin.com/job/1925243415.shtml'}\n",
      "招聘职位 CRM项目经理PM（兼售前工程师）\n",
      "15-30k·12薪 广州-东风东 统招本科 5年以上\n",
      "6小时前 投递后：7个工作日内反馈\n",
      "网址 {'https://www.liepin.com/job/1924104617.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 PM\n",
      "15-28k·12薪 广州-越秀区 本科及以上 5年以上\n",
      "5小时前 投递后：5个工作日内反馈\n",
      "网址 {'https://www.liepin.com/job/1922678507.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 SAP PM （项目经理)\n",
      "25-50k·13薪 广州-天河区 本科及以上 10年以上\n",
      "6小时前 投递后：7个工作日内反馈\n",
      "网址 {'https://www.liepin.com/job/1921010575.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 ITID PM\n",
      "面议 广州-天河区 本科及以上 7年以上\n",
      "58分钟前 投递后：24小时反馈\n",
      "网址 {'https://www.liepin.com/job/1919623155.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 项目经理（PM）\n",
      "19-37k·12薪 广州,中山 统招本科 2年以上\n",
      "5小时前\n",
      "网址 {'https://www.liepin.com/gz/zhaopin/', 'https://www.liepin.com/a/19421983.shtml'}\n",
      "招聘职位 项目经理pm\n",
      "12-18k·16薪 广州,深圳,珠海 本科及以上 5年以上\n",
      "2小时前\n",
      "网址 {'https://www.liepin.com/a/19186745.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 SPM/PM\n",
      "25-45k·12薪 北京,上海,广州 本科及以上 5年以上\n",
      "5小时前\n",
      "网址 {'https://www.liepin.com/a/19175941.shtml'}\n",
      "招聘职位 研发PM\n",
      "15-30k·16薪 广州 统招本科 3年以上\n",
      "53分钟前\n",
      "网址 {'https://www.liepin.com/a/19119177.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 PM（售前）\n",
      "15-25k·12薪 广州-黄埔区 统招本科 3年以上\n",
      "5小时前\n",
      "网址 {'https://www.liepin.com/a/19091865.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 临床PM\n",
      "25-45k·12薪 上海,广州,杭州 本科及以上 5年以上\n",
      "7小时前\n",
      "网址 {'https://www.liepin.com/a/19053209.shtml', 'https://www.liepin.com/sh/zhaopin/'}\n",
      "招聘职位 临床项目经理APM/PM\n",
      "20-35k·14薪 北京,上海,广州 统招本科 5年以上\n",
      "5小时前\n",
      "网址 {'https://www.liepin.com/a/19021335.shtml'}\n",
      "招聘职位 pm项目管理\n",
      "25-30k·14薪 广州 本科及以上 3年以上\n",
      "7小时前\n",
      "网址 {'https://www.liepin.com/a/19010827.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 临床试验 PM/CTL/SCRA\n",
      "22-40k·14薪 北京,上海,广州 统招本科 5年以上\n",
      "5小时前\n",
      "网址 {'https://www.liepin.com/a/18938865.shtml'}\n",
      "招聘职位 PM\n",
      "15-30k·13薪 深圳,广州,成都 本科及以上 5年以上\n",
      "2小时前\n",
      "网址 {'https://www.liepin.com/a/18751723.shtml', 'https://www.liepin.com/sz/zhaopin/'}\n",
      "招聘职位 PM\n",
      "35-45k·13薪 上海,广州,北京 学历不限 4年以上\n",
      "6小时前\n",
      "网址 {'https://www.liepin.com/a/18503085.shtml', 'https://www.liepin.com/sh/zhaopin/'}\n",
      "招聘职位 ITID PM\n",
      "25-35k·12薪 西安-高新区,广州-天河区 学历不限 5年以上\n",
      "6小时前\n",
      "网址 {'https://www.liepin.com/xian/zhaopin/', 'https://www.liepin.com/a/18275651.shtml'}\n",
      "招聘职位 临床项目经理 PM\n",
      "18-25k·12薪 北京,广州,辽宁 学历不限 3年以上\n",
      "6小时前\n",
      "网址 {'https://www.liepin.com/a/17456707.shtml'}\n",
      "招聘职位 项目管理（PM）\n",
      "15-30k·12薪 广州-番禺区 本科及以上 2年以上\n",
      "4小时前 投递后：5个工作日内反馈\n",
      "网址 {'https://www.liepin.com/job/1917412853.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 项目管理（PM）\n",
      "15-30k·12薪 广州 统招本科 2年以上\n",
      "4小时前 投递后：7个工作日内反馈\n",
      "网址 {'https://www.liepin.com/job/1917407377.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 临床PM/临床总监\n",
      "30-50k·14薪 上海,广州,北京 本科及以上 5年以上\n",
      "6小时前\n",
      "网址 {'https://www.liepin.com/sh/zhaopin/', 'https://www.liepin.com/a/16559003.shtml'}\n",
      "招聘职位 项目经理PM（售前顾问，CRM产品）\n",
      "16-30k·12薪 广州-东风东 统招本科 3年以上\n",
      "6小时前 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/job/1914300482.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n",
      "招聘职位 药物临床试验项目经理 PM\n",
      "20-30k·13薪 广州 本科及以上 2年以上\n",
      "6小时前 投递后：72小时反馈\n",
      "网址 {'https://www.liepin.com/job/1912096638.shtml', 'https://www.liepin.com/gz/zhaopin/'}\n"
     ]
    }
   ],
   "source": [
    "from requests_html import HTMLSession\n",
    "# 使用session\n",
    "session = HTMLSession()\n",
    "r = session.get('https://www.liepin.com/zhaopin/?key=PM+%E5%B9%BF%E5%B7%9E') # 限定词PM+广州\n",
    "\n",
    "# 使用xpath找到工作标题\n",
    "news = r.html.xpath('//div[@class=\"job-info\"]') \n",
    "\n",
    "for new in news:\n",
    "    print(\"招聘职位\",new.text)  #获得工作标题\n",
    "    print(\"网址\",new.absolute_links) #获得工作网址"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "讲解员\n",
      "3-4k·12薪 梅州 学历不限 经验不限\n",
      "5小时前 投递后：10个工作日内反馈\n",
      "新媒体运营文案\n",
      "3-5k·12薪 梅州 大专及以上 1年以上\n",
      "2020-02-27 投递后：7个工作日内反馈\n",
      "后期剪辑\n",
      "3-5k·12薪 梅州 大专及以上 1年以上\n",
      "一个月前 投递后：24小时反馈\n",
      "短视频编导/策划\n",
      "3-5k·12薪 梅州 大专及以上 1年以上\n",
      "一个月前 投递后：24小时反馈\n",
      "文案/策划\n",
      "3-5k·12薪 梅州 本科及以上 经验不限\n",
      "一个月前 投递后：24小时反馈\n",
      "品牌推广专员\n",
      "6-10k·12薪 梅州 统招本科 2年以上\n",
      "一个月前 投递后：48小时反馈\n",
      "社区运营副经理/经理/副总监（生活管家）-河源、梅州\n",
      "10-20k·14薪 梅州 大专及以上 经验不限\n",
      "一个月前 投递后：72小时反馈\n",
      "活动策划\n",
      "5-6k·12薪 梅州 大专及以上 1年以上\n",
      "一个月前 投递后：5个工作日内反馈\n",
      "婚庆公司-婚礼策划师 (职位编号：002)\n",
      "3-5k·12薪 梅州 学历不限 经验不限\n",
      "一个月前 投递后：5个工作日内反馈\n",
      "社区运营助理经理/副经理/经理/副总监（生活管家）-河源、梅州\n",
      "面议 梅州 大专及以上 1年以上\n",
      "一个月前 投递后：24小时反馈\n",
      "碧桂园酒店集团管培生-市场营销岗(J31627)（储备干部）\n",
      "4-6k·12薪 梅州 大专及以上 经验不限\n",
      "一个月前 投递后：72小时反馈\n",
      "营销策划岗（梅州）\n",
      "面议 梅州 本科及以上 1年以上\n",
      "一个月前 投递后：10个工作日内反馈\n",
      "项目经理\n",
      "3-6k·12薪 梅州 学历不限 3年以上\n",
      "一个月前 投递后：7个工作日内反馈\n",
      "薪水 3-4k·12薪\n",
      "薪水 3-5k·12薪\n",
      "薪水 3-5k·12薪\n",
      "薪水 3-5k·12薪\n",
      "薪水 3-5k·12薪\n",
      "薪水 6-10k·12薪\n",
      "薪水 10-20k·14薪\n",
      "薪水 5-6k·12薪\n",
      "薪水 3-5k·12薪\n",
      "薪水 面议\n",
      "薪水 4-6k·12薪\n",
      "薪水 面议\n",
      "薪水 3-6k·12薪\n"
     ]
    }
   ],
   "source": [
    "from requests_html import HTMLSession\n",
    "# 使用session\n",
    "session = HTMLSession()\n",
    "r = session.get('https://www.liepin.com/zhaopin/?key=传媒+梅州') # 限定词传媒+梅州\n",
    "\n",
    "# 使用xpath找到工作标题\n",
    "news1 = r.html.xpath('//div[@class=\"job-info\"]')\n",
    "news2 = r.html.xpath('//span[@class=\"text-warning\"]') #薪水\n",
    "\n",
    "for new in news1:\n",
    "    print(new.text)  #获得职位标题\n",
    "for new2 in news2:\n",
    "    print(\"薪水\",new2.text)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "GitHub 狠起来连自己都打。今天它封掉了自家的开源项目 Aurelia，只因项目中有两名来自伊朗的外部贡献者。\n",
      "继去年封禁伊朗等地区账号后，GitHub 今天再次封禁了一个属于微软的前端开源项目 Aurelia，理由是项目中有两名来自伊朗的外部贡献者。虽然 GitHub 首席执行官致歉表示“这次的确是个错误”，但是开发者们显然不买账：GitHub 封禁项目的行为是否太随意了？这样的行为难道不是与开源信念背道而驰吗？\n",
      "GitHub 一不小心封掉了自家的项目\n",
      "今天，一个名叫“Aurelia”的前端项目被 GitHub 封禁了。Aurelia 是微软开发的 JavaScript 框架，开源已有 5 年，由一家美国公司管理。\n",
      "\n",
      "作为项目负责人，微软首席 UX 工程师 Rob Eisenberg 表示非常懵：“一觉醒来，发现 Aurelia 网站被关了，数 T 归档都没办法访问了。之前也没有收到正式的通知，这对我们是毁灭性的行为！”他开玩笑说：“难道是因为微软又有了一个新的 JavaScript 框架，所以要封掉 Aurelia？！“\n",
      "更为讽刺的是，在微软工作的 Rob Eisenberg 还不得不通过发 Twitter 并知会 GitHub 的方式，来解决公司内部问题（毕竟微软已经收购了 GitHub 呀）。GitHub 的支持账号随后也给了他一个不痛不痒的回复：\n",
      "正式上诉后，GitHub 重新启用该项目的组织帐户。Rob 随后向公众解释了封禁原因：\n",
      "事件不断发酵，快速的就顶到了 HackerNews 头版，GitHub 的首席执行官不得不也对此表示了歉意：\n",
      "被封掉的另一个普通开发者账号\n",
      "无独有偶，类似事情可不是孤例。\n",
      "一位叫 Nikolay 的俄罗斯小哥最近有点烦。他是一名 Web 开发人员，平时的爱好就是编写开源库。像很多开发者一样，他把这些开源库都托管到了 GitHub 上。看看下边这张图，Nikolay 过去一年有 3,236 个 contributions，足见又勤奋又活跃。但是最近他遇到点麻烦：他的 GitHub 账号被封了。\n",
      "\n",
      "图注：这小哥在 GitHub 上确实很活跃\n",
      "这位俄罗斯小哥开始向 GitHub 申诉，并且在 Medium 上全程直播接下来的申诉过程。引来众多开发者围观。\n",
      "虽然第一时间 Nikolay 就向 GitHub 发送了邮件申请解封，但是一个星期过去了，没有收到任何回应。\n",
      "\n",
      "然后 Nikolay 就开始猜：为什么封我的号呢？是我的源代码深处有某个“列入黑名单”的网站超链接？或者是最近我在网上称呼某人为白痴？（最终证明还真就是因为这个！）\n",
      "让 Nikolay 最为接受不了的是，账号被封后，除了他自己以外，所有人对库中所有 issue（问题）的评论都瞬间消失了，其中一些评论其实是很有价值的。Nikolay 要被气炸了：\n",
      "过了一阵，Nikolay 的文章又做了一个更新：\n",
      "Nikolay 在文章里解释了他为什么会被封号。原来是因为他在 GitHub 上开玩笑地称一个家伙为 prick。对方因为感觉被侮辱而申诉，虽然不当言论确实该被惩罚，但是 GitHub 没有给 Nikolay 任何申诉的机会，也没有给他任何通知，直接就封了他的帐户。\n",
      "“审查”高于一切？\n",
      "虽然这些被错误封禁的项目都已重新开放，但是的确增加了人们对 GitHub 的不信任，开发者们群情激愤：到底有多少项目的存储库已被禁用？如果不是因为 Aurelia 是微软的项目并且进入 HackerNews 头版，还不知道类似问题能不能都得到解决。\n",
      "俄罗斯小哥 Nikolay 显然也很失望：“GitHub 虽然是一个开源社区，但更是一个商业公司。对外形象和求稳才是他们真正在意的吧。只要有人施压，他们可以轻易处置任何人。”\n",
      "去年 7 月，一位伊朗开发者的 GitHub 账号被禁，他在社交媒体上分享了自己的经历，并向 GitHub 官方发起质询。最后得知，因为自己的所在地伊朗受到美国制裁，目前整个伊朗地区的 GitHub 账号均无法使用。更让人愤怒的是，GitHub 在没有任何事先通知的情况下屏蔽了所有伊朗账户，连让该地区开发者下载备份数据的机会都没有。随后的消息表明，被美国贸易制裁的国家和地区的开发者账号，还包括克里米亚、古巴、朝鲜、伊朗和叙利亚。\n",
      "开源是软件时代非常关键的一条技术路线，几乎所有的软件公司都会基于开源软件栈来构建他们的应用。开源软件是全人类的财富，不属于任何个人，开源的边界已经超越了某个组织或公司。它代表的是信念，是精神，是文化。\n",
      "但是 GitHub 能够跟开源划等号吗？肯定不能。\n",
      "一直以来，GitHub 都是托管开源项目的最佳选择，但是微软收购 GitHub 后，无论你是否承认，它的身上都无法摆脱商业公司的标签。\n",
      "微软对开源社区的态度一直很微妙，这不是什么秘密；反过来，一些开源界人士也秉持着“反微软”的态度。微软掌控下的 GitHub 将如何发展，目前还难下定论，不过肯定会有一些开源人士会“择良木而栖”，去往别处。包括这些事件的主人公们在内，众多开发者给出了各种各样的建议：\n",
      "……\n",
      "然而，GitHub 仍是这世界上最流行的代码托管平台，对这些开发者来说，沉没成本太大了。\n",
      "当然这一切也未必是微软的错，如果没被微软收购，GitHub 一定比现在好？除了自身发展所遭遇的困境外，对于开发者来说，如果 GitHub 长得太大，难道就是好事？\n",
      "傅盛曾在一次演讲中说：你把一个 App 放在网络上，可以让几十亿人下载，让全世界的人知道你。时过境迁，谷歌、苹果、Facebook 这样超大平台的出现，使得事情又走向了另一个极端。当涉及到各种商业利益和社会因素的时候，它们同样可以在一天内让几十亿的用户完全接触不到你，让你建立的基业瞬间湮灭——这就是垄断平台的力量。\n",
      "这句话放在 GitHub 身上，同样适用。\n"
     ]
    }
   ],
   "source": [
    "from requests_html import HTMLSession\n",
    "# 使用session\n",
    "session = HTMLSession()\n",
    "r = session.get('https://news.cnblogs.com/n/658107/')\n",
    "\n",
    "news = r.html.xpath('//*[@id=\"news_body\"]/p') # 文章\n",
    "\n",
    "for new in news:\n",
    "    print(new.text)  #获得文章内容"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "![](https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1095031172,1027251558&fm=26&gp=0.jpg)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from IPython.core.display import display, Markdown\n",
    "display(Markdown('![](https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1095031172,1027251558&fm=26&gp=0.jpg)'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![]()"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.2aa2a3766b5d4d2d9d9fed3d713f33eb?w=272&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.2aa2a3766b5d4d2d9d9fed3d713f33eb?w=272&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.3886c7bdd81240f3abe5f8f8cee4fa0e?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.3886c7bdd81240f3abe5f8f8cee4fa0e?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.9fcacf06eb3d40fd8569effcff00fe5e?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.9fcacf06eb3d40fd8569effcff00fe5e?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.ff4be71371bc4e77a530d8710d68b450?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.ff4be71371bc4e77a530d8710d68b450?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.4d9a5ae6f27547e7b4b5436509e443ed?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.4d9a5ae6f27547e7b4b5436509e443ed?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.b4631c5bfcfc46f8b435456813f6867d?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.b4631c5bfcfc46f8b435456813f6867d?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.27c986d8239a4d23875622c8e5791eda?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.27c986d8239a4d23875622c8e5791eda?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.53867c33c4b544bcb1d1816b0d999e4c?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.53867c33c4b544bcb1d1816b0d999e4c?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.366d0d10b68e4b839d1f4bba028ccd23?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.366d0d10b68e4b839d1f4bba028ccd23?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.020bc8604f2d4a188971fcb17aa8a905?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.020bc8604f2d4a188971fcb17aa8a905?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.9982eecb74f243d2a805c077d0466fb6?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.9982eecb74f243d2a805c077d0466fb6?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.ac947abd05814bb28329fdf32965e239?w=272&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.ac947abd05814bb28329fdf32965e239?w=272&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.d614e356ff3648ea8385bcd68546a74c?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.d614e356ff3648ea8385bcd68546a74c?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.e25f83524d9f4a868bdbdf1919dec3c0?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.e25f83524d9f4a868bdbdf1919dec3c0?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.938d4544da29427fa7278cb7c7351fb6?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.938d4544da29427fa7278cb7c7351fb6?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.609002688afe4145900fcf56bfc1728d?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.609002688afe4145900fcf56bfc1728d?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.3b155f97226d4ce3b8019ca75c37785c?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.3b155f97226d4ce3b8019ca75c37785c?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.fc7d18af572249f4815210592b083015?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.fc7d18af572249f4815210592b083015?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.dc7d64a2cf314b4cbaa1d8b9314734f7?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.dc7d64a2cf314b4cbaa1d8b9314734f7?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.f8cd4861bc504029a90ccc272bbc954d?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.f8cd4861bc504029a90ccc272bbc954d?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.5ca4829fee72427b8424d6aead35163a?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.5ca4829fee72427b8424d6aead35163a?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.f27e5b857f524c648726b803a44837a4?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.f27e5b857f524c648726b803a44837a4?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.d76a305be6db4c9e84c89ea26290b38a?w=272&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.d76a305be6db4c9e84c89ea26290b38a?w=272&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.18da11981db140b88154ab5771455563?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.18da11981db140b88154ab5771455563?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.f630c2fbb82147b98b1de22b73918a80?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.f630c2fbb82147b98b1de22b73918a80?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.8e621908c31741a0a92f5476c346b6a1?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.8e621908c31741a0a92f5476c346b6a1?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.ff87a75f1a114173b0612dbc4e1f8686?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.ff87a75f1a114173b0612dbc4e1f8686?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.641eeea17d2a4973b53e3c83b750772a?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.641eeea17d2a4973b53e3c83b750772a?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.5435c90c0a8b4deab3971d04a029a8c4?w=135&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.5435c90c0a8b4deab3971d04a029a8c4?w=135&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.d69bc419d1714d3a8dbde7cb56a21d3a?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.d69bc419d1714d3a8dbde7cb56a21d3a?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.509714ed371341c2ae7538b1645a14c7?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.509714ed371341c2ae7538b1645a14c7?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.fa414e4eb8aa4969b1e7160c78811e1a?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.fa414e4eb8aa4969b1e7160c78811e1a?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.68a825be6b82468e87d594ca5cea921d?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.68a825be6b82468e87d594ca5cea921d?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.6570bfa2065f4f2c8074b99429c29e74?w=272&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.6570bfa2065f4f2c8074b99429c29e74?w=272&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.548058d6281c4ffa9d571f839910f32a?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.548058d6281c4ffa9d571f839910f32a?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.80281b69d95b48bc8a466fcdffad5173?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.80281b69d95b48bc8a466fcdffad5173?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.1eadcb1402d74bb295fff97db1bf6600?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.1eadcb1402d74bb295fff97db1bf6600?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.de53e76d3f3d4a479eb8739b74f81440?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.de53e76d3f3d4a479eb8739b74f81440?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.e19d34f3918d4fa982966ba08fd4c07d?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.e19d34f3918d4fa982966ba08fd4c07d?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.0a8ed06811b549b48a1917ad0ec2e055?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.0a8ed06811b549b48a1917ad0ec2e055?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.4ef5bf6f0ae1423abe844d8242f55a80?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.4ef5bf6f0ae1423abe844d8242f55a80?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.3c15354dfdd047ab93fe96f196ad07cb?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.3c15354dfdd047ab93fe96f196ad07cb?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.014e47747fd744729136663e06d30322?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.014e47747fd744729136663e06d30322?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.311ab2c108ce49efb855fed17cae87f8?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.311ab2c108ce49efb855fed17cae87f8?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.13be13dfa85948e49ee8fbc70403d6c5?w=272&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.13be13dfa85948e49ee8fbc70403d6c5?w=272&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.c278f8963dfe49ff9d896dac6cd4db70?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.c278f8963dfe49ff9d896dac6cd4db70?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.e662e33e5f61405ea35606f21bebd306?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.e662e33e5f61405ea35606f21bebd306?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.28fd0f0ab6344e5cb21400966cb1bd4d?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.28fd0f0ab6344e5cb21400966cb1bd4d?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.925b40d875fa4de792eafca813066152?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.925b40d875fa4de792eafca813066152?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.52f4abd4696b4130953af7affa14f8a8?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.52f4abd4696b4130953af7affa14f8a8?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.e709992723d94bfcbdea2455d661def0?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.e709992723d94bfcbdea2455d661def0?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.8f8f61c7a67944758e1e85de7c4cfabf?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.8f8f61c7a67944758e1e85de7c4cfabf?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.d8fd1f230e9e49e397515b081766c2e2?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.d8fd1f230e9e49e397515b081766c2e2?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.bc987d4922c64b6a8c448cc6b2cb99c1?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.bc987d4922c64b6a8c448cc6b2cb99c1?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.a878a7ad236549fe89ec1eb1b1bffd0b?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.a878a7ad236549fe89ec1eb1b1bffd0b?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.e467266179b6400296e48a979d03e696?w=272&h=272&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.e467266179b6400296e48a979d03e696?w=272&h=272&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.9c8f4475433546bb9524895b1634db32?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.9c8f4475433546bb9524895b1634db32?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.b910d62ca7224b48b799485ff633fbe9?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.b910d62ca7224b48b799485ff633fbe9?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.d88228c37ad848e4975c4725cdb24983?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.d88228c37ad848e4975c4725cdb24983?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.c0beeb3881cc4f7fa28f0487ec2da039?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.c0beeb3881cc4f7fa28f0487ec2da039?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.45d8eb27b73b43719df3ea23568cc299?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.45d8eb27b73b43719df3ea23568cc299?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.7ce6dc322d2d4ff0970c36b17fcf363c?w=272&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.7ce6dc322d2d4ff0970c36b17fcf363c?w=272&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.ecf975724f74437aa9f9ad1463df0cb0?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.ecf975724f74437aa9f9ad1463df0cb0?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.28852aa91ef54138a6945ef6f0954986?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.28852aa91ef54138a6945ef6f0954986?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.736ec8974a93411487f3231eec4923bb?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.736ec8974a93411487f3231eec4923bb?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "https://tse1-mm.cn.bing.net/th/id/OET.8cccc6ae58de402aabbc4611e041741f?w=135&h=135&c=7&rs=1&o=5&pid=1.9\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](https://tse1-mm.cn.bing.net/th/id/OET.8cccc6ae58de402aabbc4611e041741f?w=135&h=135&c=7&rs=1&o=5&pid=1.9)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "/rs/5g/L8/ic/4907366b/da274d75.png\n"
     ]
    },
    {
     "data": {
      "text/markdown": [
       "![](/rs/5g/L8/ic/4907366b/da274d75.png)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from requests_html import HTMLSession\n",
    "\n",
    "session = HTMLSession()\n",
    "\n",
    "r = session.get(\"https://cn.bing.com/images/trending\")\n",
    "\n",
    "# 通过xpath找到工作标签\n",
    "items = r.html.xpath('//img/@src')\n",
    "\n",
    "for url in items:\n",
    "    print(url)  # 获得图片src url\n",
    "    display(Markdown('![]({url})'.format(url=url)))  # 展示图片   "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "![](<Element 'img' alt='41支国家医疗队踏上返程' class=('ilp_hu',) h='272' q='41支国家医疗队踏上返程' src='https://tse1-mm.cn.bing.net/th/id/OET.fa5df21747854ea0ab5bd74a3ffdc3fa?w=272&h=272&c=7&rs=1&o=5&pid=1.9' w='272'>)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "![](<Element 'img' alt='全法实施“封城”' class=('ilp_nu',) h='135' q='全法实施“封城”' src='https://tse1-mm.cn.bing.net/th/id/OET.2f40ad5cb88f41179bd8d4654222ac40?w=135&h=135&c=7&rs=1&o=5&pid=1.9' w='135'>)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "![](<Element 'img' alt='苹果被罚11亿欧元' class=('ilp_nu',) h='135' q='苹果被罚11亿欧元' src='https://tse1-mm.cn.bing.net/th/id/OET.e48fe9220c4c4ab5927da489a993f067?w=135&h=135&c=7&rs=1&o=5&pid=1.9' w='135'>)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "![](<Element 'img' alt='阿凡达续集停拍' class=('ilp_nu',) h='135' q='阿凡达续集停拍' src='https://tse1-mm.cn.bing.net/th/id/OET.351306e24ec549f08992eec5db0d6d64?w=135&h=135&c=7&rs=1&o=5&pid=1.9' w='135'>)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "![](<Element 'img' alt='黑寡妇撤档' class=('ilp_nu',) h='135' q='黑寡妇撤档' src='https://tse1-mm.cn.bing.net/th/id/OET.772aee4846d4458c8e5111dbb06855d0?w=135&h=135&c=7&rs=1&o=5&pid=1.9' w='135'>)"
      ],
      "text/plain": [
       "<IPython.core.display.Markdown object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from requests_html import HTMLSession\n",
    "\n",
    "session = HTMLSession()\n",
    "\n",
    "r = session.get(\"https://cn.bing.com/images/trending\")\n",
    "\n",
    "# 通过xpath找到工作标签\n",
    "items = r.html.xpath('//*[@id=\"ilp_t\"]/div[1]/div/div/div/div/a/img') #今日热图\n",
    "\n",
    "for url in items:\n",
    "  # 获得图片src url\n",
    "    display(Markdown('![]({url})'.format(url=url)))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
